Skip to content

Add system API endpoints for cycle cost calculation#4110

Merged
mraszyk merged 36 commits intomasterfrom
mwe/cost_api
Mar 10, 2025
Merged

Add system API endpoints for cycle cost calculation#4110
mraszyk merged 36 commits intomasterfrom
mwe/cost_api

Conversation

@michael-weigelt
Copy link
Contributor

@michael-weigelt michael-weigelt requested a review from a team as a code owner January 27, 2025 15:31
@github-actions github-actions bot added the interface-spec Changes to the IC Interface Specification label Jan 27, 2025
mraszyk

This comment was marked as resolved.

github-merge-queue bot pushed a commit to dfinity/ic that referenced this pull request Feb 24, 2025
…alls. (#3584)

This PR introduces system API endpoints that allow the caller to predict
the cost of certain calls:
- The cost of creating a canister
- The cost of making an http outcall
- The cost of an inter-canister call, i.e., the amount of cycles above
the freezing threshold a canister must have in order to successfully
perfom a call
- The cost of signing with Ecdsa, Schnorr and deriving a VetKd key. 

[Design
Doc](https://docs.google.com/document/d/1CGe779xUYU8uA37dOnG1ZXcdiMSHg2mNq43H3UaqpFs/edit?tab=t.0)

[Spec PR](dfinity/portal#4110)

---------

Co-authored-by: Leo Eichhorn <[email protected]>
Co-authored-by: Dragoljub Djuric <[email protected]>
@mraszyk mraszyk enabled auto-merge (squash) March 10, 2025 18:14
@mraszyk mraszyk merged commit 6471e69 into master Mar 10, 2025
9 checks passed
@mraszyk mraszyk deleted the mwe/cost_api branch March 10, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interface-spec Changes to the IC Interface Specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants